import { EChartComponent } from '@/components/ECharts'
import { mapOptions } from './options'

export const Map = (props: any) => {
	return (
		<div className="w-full h-full">
			{props.mapData ? (
				<EChartComponent option={mapOptions(props.mapData)} height="100%" />
			) : undefined}
		</div>
	)
}
